<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>{$tpshop_config['shop_info_store_title']}</title>
    <meta http-equiv="keywords" content="{$tpshop_config['shop_info_store_keyword']}" />
    <meta name="description" content="{$tpshop_config['shop_info_store_desc']}" />
    <link rel="stylesheet" href="__STATIC__/css/index.css" type="text/css">
    <script src="__STATIC__/js/jquery-1.10.2.min.js"></script>
    <script src="__STATIC__/js/slider.js"></script>
	<script src="__PUBLIC__/js/layer/layer.js"></script><!-- 弹窗js 参考文档 http://layer.layui.com/-->  
</head>
<style type="text/css">
.wi80-BFB{width:80%}
.wi40-BFB{width:40%}
.seauii{ padding:7px 10px; margin-right:10px}
.he110{ height:110px}
.di-bl{ display:inherit}
</style>
<body>
<div class="adderss-add">
    <div class="ner-reac ol_box_4" style="visibility: visible; position: fixed; z-index: 500; width: 100%; height:100%">
        <div class="box-ct">
            <div class="box-header">
                <!-- <a href="" class="box-close"></a> -->
               
            </div>
            <form action="" method="post" onSubmit="return checkForm()">
                <table width="90%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td align="right"><span class="xh">*</span>First Name ：&nbsp;</td>
                        <td><input class="wi80-BFB" name="consignee" type="text" value="{$address.consignee}" maxlength="12" /></td>
                    </tr>
                    <tr>
                        <td align="right"><span class="xh">*</span>Last Name ：&nbsp;</td>
                        <td><input class="wi80-BFB" name="lastname" type="text" value="{$address.lastname}" maxlength="12" /></td>
                    </tr>
                    <tr>
                        <td align="right"><span class="xh">*</span>Email Address ：&nbsp;</td>
                        <td><input class="wi80-BFB" name="email" type="text" value="{$address.email}" maxlength="12" /></td>
                    </tr>
                     <tr>
                        <td align="right"><span class="xh">*</span>Telephone：&nbsp;</td>
                        <td><input class="wi40-BFB" type="text" name="mobile" value="{$address.mobile}" maxlength="15"/></td>
                    </tr>
                       <tr>
                    	<td align="right" valign="top"><span class="xh">*</span>Address：&nbsp;</td>
                    	<td><input class="wi80-BFB" type="text" name="address" value="{$address.address}" maxlength="15"/>
                       </td>
                    </tr>
                    <tr>
                        <td align="right"><span class="xh">*</span>Country ：&nbsp;</td>
                        <td>


                        <select name="country"  class="di-bl fl seauii" title="Country">
                            <option value=""> </option>
                            <option value="Afghanistan" <if condition="$address[country] eq 'Afghanistan'">selected="selected"</if>>Afghanistan</option>
                            <option value="Åland Islands" <if condition="$address[country] eq 'Åland Islands'">selected="selected"</if>>Åland Islands</option>
                            <option value="Albania" <if condition="$address[country] eq 'Albania'">selected="selected"</if>>Albania</option>
                            <option value="Algeria" <if condition="$address[country] eq 'Algeria'">selected="selected"</if>>Algeria</option>
                            <option value="American Samoa" <if condition="$address[country] eq 'American Samoa'">selected="selected"</if>>American Samoa</option>
                            <option value="Andorra" <if condition="$address[country] eq 'Andorra'">selected="selected"</if>>Andorra</option>
                            <option value="Angola" <if condition="$address[country] eq 'Angola'">selected="selected"</if>>Angola</option>
                            <option value="Anguilla" <if condition="$address[country] eq 'Anguilla'">selected="selected"</if>>Anguilla</option>
                            <option value="Antarctica" <if condition="$address[country] eq 'Antarctica'">selected="selected"</if>>Antarctica</option>
                            <option value="Antigua and Barbuda" <if condition="$address[country] eq 'Antigua and Barbuda'">selected="selected"</if>>Antigua and Barbuda</option>
                            <option value="Argentina" <if condition="$address[country] eq 'Argentina'">selected="selected"</if>>Argentina</option>
                            <option value="Armenia" <if condition="$address[country] eq 'Armenia'">selected="selected"</if>>Armenia</option>
                            <option value="Aruba" <if condition="$address[country] eq 'Aruba'">selected="selected"</if>>Aruba</option>
                            <option value="Australia" <if condition="$address[country] eq 'Australia'">selected="selected"</if>>Australia</option>
                            <option value="Austria" <if condition="$address[country] eq 'Austria'">selected="selected"</if>>Austria</option>
                            <option value="Azerbaijan" <if condition="$address[country] eq 'Azerbaijan'">selected="selected"</if>>Azerbaijan</option>
                            <option value="Bahamas" <if condition="$address[country] eq 'Bahamas'">selected="selected"</if>>Bahamas</option>
                            <option value="Bahrain" <if condition="$address[country] eq 'Bahrain'">selected="selected"</if>>Bahrain</option>
                            <option value="Bangladesh" <if condition="$address[country] eq 'Bangladesh'">selected="selected"</if>>Bangladesh</option>
                            <option value="Barbados" <if condition="$address[country] eq 'Barbados'">selected="selected"</if>>Barbados</option>
                            <option value="Belarus" <if condition="$address[country] eq 'Belarus'">selected="selected"</if>>Belarus</option>
                            <option value="Belgium" <if condition="$address[country] eq 'Belgium'">selected="selected"</if>>Belgium</option>
                            <option value="Belize" <if condition="$address[country] eq 'Belize'">selected="selected"</if>>Belize</option>
                            <option value="Benin" <if condition="$address[country] eq 'Benin'">selected="selected"</if>>Benin</option>
                            <option value="Bermuda" <if condition="$address[country] eq 'Bermuda'">selected="selected"</if>>Bermuda</option>
                            <option value="Bhutan" <if condition="$address[country] eq 'Bhutan'">selected="selected"</if>>Bhutan</option>
                            <option value="Bolivia" <if condition="$address[country] eq 'Bolivia'">selected="selected"</if>>Bolivia</option>
                            <option value="Bosnia and Herzegovina" <if condition="$address[country] eq 'Bosnia and Herzegovina'">selected="selected"</if>>Bosnia and Herzegovina</option>
                            <option value="Botswana" <if condition="$address[country] eq 'Botswana'">selected="selected"</if>>Botswana</option>
                            <option value="Bouvet Island" <if condition="$address[country] eq 'Bouvet Island'">selected="selected"</if>>Bouvet Island</option>
                            <option value="Brazil" <if condition="$address[country] eq 'Brazil'">selected="selected"</if>>Brazil</option>
                            <option value="British Indian Ocean Territory" <if condition="$address[country] eq 'British Indian Ocean Territory'">selected="selected"</if>>British Indian Ocean Territory</option>
                            <option value="British Virgin Islands" <if condition="$address[country] eq 'British Virgin Islands'">selected="selected"</if>>British Virgin Islands</option>
                            <option value="Brunei" <if condition="$address[country] eq 'Brunei'">selected="selected"</if>>Brunei</option>
                            <option value="Bulgaria" <if condition="$address[country] eq 'Bulgaria'">selected="selected"</if>>Bulgaria</option>
                            <option value="Burkina Faso" <if condition="$address[country] eq 'Burkina Faso'">selected="selected"</if>>Burkina Faso</option>
                            <option value="Burundi" <if condition="$address[country] eq 'Burundi'">selected="selected"</if>>Burundi</option>
                            <option value="Cambodia" <if condition="$address[country] eq 'Cambodia'">selected="selected"</if>>Cambodia</option>
                            <option value="Cameroon" <if condition="$address[country] eq 'Cameroon'">selected="selected"</if>>Cameroon</option>
                            <option value="Canada" <if condition="$address[country] eq 'Canada'">selected="selected"</if>>Canada</option>
                            <option value="Cape Verde" <if condition="$address[country] eq 'Cape Verde'">selected="selected"</if>>Cape Verde</option>
                            <option value="Cayman Islands" <if condition="$address[country] eq 'Cayman Islands'">selected="selected"</if>>Cayman Islands</option>
                            <option value="Central African Republic" <if condition="$address[country] eq 'Central African Republic'">selected="selected"</if>>Central African Republic</option>
                            <option value="Chad" <if condition="$address[country] eq 'Chad'">selected="selected"</if>>Chad</option>
                            <option value="Chile" <if condition="$address[country] eq 'Chile'">selected="selected"</if>>Chile</option>
                            <option value="China" <if condition="$address[country] eq 'China'">selected="selected"</if>>China</option>
                            <option value="Christmas Island" <if condition="$address[country] eq 'Christmas Island'">selected="selected"</if>>Christmas Island</option>
                            <option value="Colombia" <if condition="$address[country] eq 'Colombia'">selected="selected"</if>>Colombia</option>
                            <option value="Comoros" <if condition="$address[country] eq 'Comoros'">selected="selected"</if>>Comoros</option>
                            <option value="Congo - Brazzaville" <if condition="$address[country] eq 'Congo - Brazzaville'">selected="selected"</if>>Congo - Brazzaville</option>
                            <option value="Congo - Kinshasa" <if condition="$address[country] eq 'Congo - Kinshasa'">selected="selected"</if>>Congo - Kinshasa</option>
                            <option value="Cook Islands" <if condition="$address[country] eq 'Cook Islands'">selected="selected"</if>>Cook Islands</option>
                            <option value="Costa Rica" <if condition="$address[country] eq 'Costa Rica'">selected="selected"</if>>Costa Rica</option>
                            <option value="Côte d’Ivoire" <if condition="$address[country] eq 'Côte d’Ivoire'">selected="selected"</if>>Côte d’Ivoire</option>
                            <option value="Croatia" <if condition="$address[country] eq 'Croatia'">selected="selected"</if>>Croatia</option>
                            <option value="Cuba" <if condition="$address[country] eq 'Cuba'">selected="selected"</if>>Cuba</option>
                            <option value="Cyprus" <if condition="$address[country] eq 'Cyprus'">selected="selected"</if>>Cyprus</option>
                            <option value="Czech Republic" <if condition="$address[country] eq 'Czech Republic'">selected="selected"</if>>Czech Republic</option>
                            <option value="Denmark" <if condition="$address[country] eq 'Denmark'">selected="selected"</if>>Denmark</option>
                            <option value="Djibouti" <if condition="$address[country] eq 'Djibouti'">selected="selected"</if>>Djibouti</option>
                            <option value="Dominica" <if condition="$address[country] eq 'Dominica'">selected="selected"</if>>Dominica</option>
                            <option value="Dominican Republic" <if condition="$address[country] eq 'Dominican Republic'">selected="selected"</if>>Dominican Republic</option>
                            <option value="Ecuador" <if condition="$address[country] eq 'Ecuador'">selected="selected"</if>>Ecuador</option>
                            <option value="Egypt" <if condition="$address[country] eq 'Egypt'">selected="selected"</if>>Egypt</option>
                            <option value="El Salvador" <if condition="$address[country] eq 'El Salvador'">selected="selected"</if>>El Salvador</option>
                            <option value="Equatorial Guinea" <if condition="$address[country] eq 'Equatorial Guinea'">selected="selected"</if>>Equatorial Guinea</option>
                            <option value="Eritrea" <if condition="$address[country] eq 'Eritrea'">selected="selected"</if>>Eritrea</option>
                            <option value="Estonia" <if condition="$address[country] eq 'Estonia'">selected="selected"</if>>Estonia</option>
                            <option value="Ethiopia" <if condition="$address[country] eq 'Ethiopia'">selected="selected"</if>>Ethiopia</option>
                            <option value="Falkland Islands" <if condition="$address[country] eq 'Falkland Islands'">selected="selected"</if>>Falkland Islands</option>
                            <option value="Faroe Islands" <if condition="$address[country] eq 'Faroe Islands'">selected="selected"</if>>Faroe Islands</option>
                            <option value="Fiji" <if condition="$address[country] eq 'Fiji'">selected="selected"</if>>Fiji</option>
                            <option value="Finland" <if condition="$address[country] eq 'Finland'">selected="selected"</if>>Finland</option>
                            <option value="France" <if condition="$address[country] eq 'France'">selected="selected"</if>>France</option>
                            <option value="French Guiana" <if condition="$address[country] eq 'French Guiana'">selected="selected"</if>>French Guiana</option>
                            <option value="French Polynesia" <if condition="$address[country] eq 'French Polynesia'">selected="selected"</if>>French Polynesia</option>
                            <option value="French Southern Territories" <if condition="$address[country] eq 'French Southern Territories'">selected="selected"</if>>French Southern Territories</option>
                            <option value="Gabon" <if condition="$address[country] eq 'Gabon'">selected="selected"</if>>Gabon</option>
                            <option value="Gambia" <if condition="$address[country] eq 'Gambia'">selected="selected"</if>>Gambia</option>
                            <option value="Georgia" <if condition="$address[country] eq 'Georgia'">selected="selected"</if>>Georgia</option>
                            <option value="Germany" <if condition="$address[country] eq 'Germany'">selected="selected"</if>>Germany</option>
                            <option value="Ghana" <if condition="$address[country] eq 'Ghana'">selected="selected"</if>>Ghana</option>
                            <option value="Gibraltar" <if condition="$address[country] eq 'Gibraltar'">selected="selected"</if>>Gibraltar</option>
                            <option value="Greece" <if condition="$address[country] eq 'Greece'">selected="selected"</if>>Greece</option>
                            <option value="Greenland" <if condition="$address[country] eq 'Greenland'">selected="selected"</if>>Greenland</option>
                            <option value="Grenada" <if condition="$address[country] eq 'Grenada'">selected="selected"</if>>Grenada</option>
                            <option value="Guadeloupe" <if condition="$address[country] eq 'Guadeloupe'">selected="selected"</if>>Guadeloupe</option>
                            <option value="Guam" <if condition="$address[country] eq 'Guam'">selected="selected"</if>>Guam</option>
                            <option value="Guatemala" <if condition="$address[country] eq 'Guatemala'">selected="selected"</if>>Guatemala</option>
                            <option value="Guernsey" <if condition="$address[country] eq 'Guernsey'">selected="selected"</if>>Guernsey</option>
                            <option value="Guinea" <if condition="$address[country] eq 'Guinea'">selected="selected"</if>>Guinea</option>
                            <option value="Guinea-Bissau" <if condition="$address[country] eq 'Guinea-Bissau'">selected="selected"</if>>Guinea-Bissau</option>
                            <option value="Guyana" <if condition="$address[country] eq 'Guyana'">selected="selected"</if>>Guyana</option>
                            <option value="Haiti" <if condition="$address[country] eq 'Haiti'">selected="selected"</if>>Haiti</option>
                            <option value="Heard Island and McDonald Islands" <if condition="$address[country] eq 'Heard Island and McDonald Islands'">selected="selected"</if>>Heard Island and McDonald Islands</option>
                            <option value="Honduras" <if condition="$address[country] eq 'Honduras'">selected="selected"</if>>Honduras</option>
                            <option value="Hong Kong SAR China" <if condition="$address[country] eq 'Hong Kong SAR China'">selected="selected"</if>>Hong Kong SAR China</option>
                            <option value="Hungary" <if condition="$address[country] eq 'Hungary'">selected="selected"</if>>Hungary</option>
                            <option value="Iceland" <if condition="$address[country] eq 'Iceland'">selected="selected"</if>>Iceland</option>
                            <option value="India" <if condition="$address[country] eq 'India'">selected="selected"</if>>India</option>
                            <option value="Indonesia" <if condition="$address[country] eq 'Indonesia'">selected="selected"</if>>Indonesia</option>
                            <option value="Iran" <if condition="$address[country] eq 'Iran'">selected="selected"</if>>Iran</option>
                            <option value="Iraq" <if condition="$address[country] eq 'Iraq'">selected="selected"</if>>Iraq</option>
                            <option value="Ireland" <if condition="$address[country] eq 'Ireland'">selected="selected"</if>>Ireland</option>
                            <option value="Isle of Man" <if condition="$address[country] eq 'Isle of Man'">selected="selected"</if>>Isle of Man</option>
                            <option value="Israel" <if condition="$address[country] eq 'Israel'">selected="selected"</if>>Israel</option>
                            <option value="Italy" <if condition="$address[country] eq 'Italy'">selected="selected"</if>>Italy</option>
                            <option value="Jamaica" <if condition="$address[country] eq 'Jamaica'">selected="selected"</if>>Jamaica</option>
                            <option value="Japan" <if condition="$address[country] eq 'Japan'">selected="selected"</if>>Japan</option>
                            <option value="Jersey" <if condition="$address[country] eq 'Jersey'">selected="selected"</if>>selected="selected"</if>>Jersey</option>
                            <option value="Jordan" <if condition="$address[country] eq 'Jordan'">selected="selected"</if>>selected="selected"</if>>Jordan</option>

                            <option value="Kazakhstan" <if condition="$address[country] eq 'Kazakhstan'" >selected="selected"</if>>Kazakhstan</option>
                            <option value="Kenya" <if condition="$address[country] eq 'Kenya'" >selected="selected"</if>>Kenya</option>
                            <option value="Kiribati" <if condition="$address[country] eq 'Kiribati'">selected="selected"</if>>Kiribati</option>
                            <option value="Kuwait" <if condition="$address[country] eq 'Kuwait'">selected="selected"</if>>Kuwait</option>
                            <option value="Kyrgyzstan" <if condition="$address[country] eq 'Kyrgyzstan'">Kyrgyzstan</option>
                            <option value="Laos" <if condition="$address[country] eq 'Laos'">selected="selected"</if>>Laos</option>
                            <option value="Latvia" <if condition="$address[country] eq 'Latvia'">selected="selected"</if>>Latvia</option>
                            <option value="Lebanon" <if condition="$address[country] eq 'Lebanon'">selected="selected"</if>>Lebanon</option>
                            <option value="Lesotho" <if condition="$address[country] eq 'Lesotho'">selected="selected"</if>>Lesotho</option>
                            <option value="Liberia" <if condition="$address[country] eq 'Liberia'">selected="selected"</if>>Liberia</option>
                            <option value="Libya" <if condition="$address[country] eq 'Libya'">selected="selected"</if>>selected="selected"</if>>Libya</option>
                            <option value="Liechtenstein" <if condition="$address[country] eq 'Liechtenstein'">selected="selected"</if>>Liechtenstein</option>
                            <option value="Lithuania" <if condition="$address[country] eq 'Lithuania'">selected="selected"</if>>Lithuania</option>
                            <option value="Luxembourg" <if condition="$address[country] eq 'Luxembourg'">selected="selected"</if>>Luxembourg</option>
                            <option value="Macau SAR China" <if condition="$address[country] eq 'Macau SAR China'">selected="selected"</if>>Macau SAR China</option>
                            <option value="Macedonia" <if condition="$address[country] eq 'Macedonia'">selected="selected"</if>>selected="selected"</if>>Macedonia</option>
                            <option value="Madagascar" <if condition="$address[country] eq 'Madagascar'">selected="selected"</if>>Madagascar</option>
                            <option value="Malawi" <if condition="$address[country] eq 'Malawi'">selected="selected"</if>>Malawi</option>
                            <option value="Malaysia" <if condition="$address[country] eq 'Malaysia'">selected="selected"</if>>Malaysia</option>
                            <option value="Maldives" <if condition="$address[country] eq 'Maldives'">selected="selected"</if>>selected="selected"</if>>Maldives</option>
                            <option value="Mali" <if condition="$address[country] eq 'Mali'">selected="selected"</if>>selected="selected"</if>>Mali</option>
                            <option value="Malta" <if condition="$address[country] eq 'Malta'">selected="selected"</if>>Malta</option>
                            <option value="Marshall Islands" <if condition="$address[country] eq 'Marshall Islands'">selected="selected"</if>>Marshall Islands</option>
                            <option value="Martinique" <if condition="$address[country] eq 'Martinique'">selected="selected"</if>>Martinique</option>
                            <option value="Mauritania" <if condition="$address[country] eq 'Mauritania'">selected="selected"</if>>Mauritania</option>
                            <option value="Mauritius" <if condition="$address[country] eq 'Mauritius'">selected="selected"</if>>Mauritius</option>
                            <option value="Mayotte" <if condition="$address[country] eq 'Mayotte'">selected="selected"</if>>Mayotte</option>
                            <option value="Mexico" <if condition="$address[country] eq 'Mexico'">selected="selected"</if>>Mexico</option>
                            <option value="Micronesia" <if condition="$address[country] eq 'Micronesia'">selected="selected"</if>>Micronesia</option>
                            <option value="Moldova" <if condition="$address[country] eq 'Moldova'">selected="selected"</if>>Moldova</option>
                            <option value="Monaco" <if condition="$address[country] eq 'Monaco'">selected="selected"</if>>Monaco</option>
                            <option value="Mongolia" <if condition="$address[country] eq 'Mongolia'">selected="selected"</if>>Mongolia</option>
                            <option value="Montenegro" <if condition="$address[country] eq 'Montenegro'">selected="selected"</if>>Montenegro</option>
                            <option value="Montserrat" <if condition="$address[country] eq 'Montserrat'">selected="selected"</if>>Montserrat</option>
                            <option value="Morocco" <if condition="$address[country] eq 'Morocco'">selected="selected"</if>>Morocco</option>
                            <option value="Mozambique" <if condition="$address[country] eq 'Mozambique'">selected="selected"</if>>Mozambique</option>
                            <option value="Namibia" <if condition="$address[country] eq 'Namibia'">selected="selected"</if>>Namibia</option>
                            <option value="Nauru" <if condition="$address[country] eq 'Nauru'">selected="selected"</if>>Nauru</option>
                            <option value="Nepal" <if condition="$address[country] eq 'Nepal'">selected="selected"</if>>Nepal</option>
                            <option value="Netherlands" <if condition="$address[country] eq 'Netherlands'">selected="selected"</if>>Netherlands</option>
                            <option value="Netherlands Antilles" <if condition="$address[country] eq 'Netherlands Antilles'">selected="selected"</if>>Netherlands Antilles</option>
                            <option value="New Caledonia" <if condition="$address[country] eq 'New Caledonia'">selected="selected"</if>>New Caledonia</option>
                            <option value="New Zealand" <if condition="$address[country] eq 'New Zealand'">selected="selected"</if>>New Zealand</option>
                            <option value="Nicaragua" <if condition="$address[country] eq 'Nicaragua'">selected="selected"</if>>Nicaragua</option>
                            <option value="Niger" <if condition="$address[country] eq 'Niger'">selected="selected"</if>>Niger</option>
                            <option value="Nigeria" <if condition="$address[country] eq 'Nigeria'">selected="selected"</if>>Nigeria</option>
                            <option value="Niue" <if condition="$address[country] eq 'Niue'">selected="selected"</if>>Niue</option>
                            <option value="Norfolk Island" <if condition="$address[country] eq 'Norfolk Island'">selected="selected"</if>>Norfolk Island</option>
                            <option value="Northern Mariana Islands" <if condition="$address[country] eq 'Northern Mariana Islands'">selected="selected"</if>>Northern Mariana Islands</option>
                            <option value="North Korea" <if condition="$address[country] eq 'North Korea'">selected="selected"</if>>North Korea</option>
                            <option value="Norway" <if condition="$address[country] eq 'Norway'">selected="selected"</if>>Norway</option>
                            <option value="Oman" <if condition="$address[country] eq 'Oman'">selected="selected"</if>>Oman</option>
                            <option value="Pakistan" <if condition="$address[country] eq 'Pakistan'">selected="selected"</if>>Pakistan</option>
                            <option value="Palau" <if condition="$address[country] eq 'Palau'">selected="selected"</if>>Palau</option>
                            <option value="Palestinian Territories" <if condition="$address[country] eq 'Palestinian Territories'">selected="selected"</if>>Palestinian Territories</option>
                            <option value="Panama" <if condition="$address[country] eq 'Panama'">selected="selected"</if>>Panama</option>
                            <option value="Papua New Guinea" <if condition="$address[country] eq 'Papua New Guinea'">selected="selected"</if>>Papua New Guinea</option>
                            <option value="Paraguay" <if condition="$address[country] eq 'Paraguay'">selected="selected"</if>>Paraguay</option>
                            <option value="Peru" <if condition="$address[country] eq 'Peru'">selected="selected"</if>>Peru</option>
                            <option value="Philippines" <if condition="$address[country] eq 'Philippines'">selected="selected"</if>>Philippines</option>
                            <option value="Pitcairn Islands" <if condition="$address[country] eq 'Pitcairn Islands'">selected="selected"</if>>Pitcairn Islands</option>
                            <option value="Poland" <if condition="$address[country] eq 'Poland'">selected="selected"</if>>Poland</option>
                            <option value="Portugal" <if condition="$address[country] eq 'Portugal'">selected="selected"</if>>Portugal</option>
                            <option value="Puerto Rico" <if condition="$address[country] eq 'Puerto Rico'">selected="selected"</if>>Puerto Rico</option>
                            <option value="Qatar" <if condition="$address[country] eq 'Qatar'">selected="selected"</if>>Qatar</option>
                            <option value="Réunion" <if condition="$address[country] eq 'Réunion'">selected="selected"</if>>Réunion</option>
                            <option value="Romania" <if condition="$address[country] eq 'Romania'">selected="selected"</if>>Romania</option>
                            <option value="Russia" <if condition="$address[country] eq 'Russia'">selected="selected"</if>>Russia</option>
                            <option value="Rwanda" <if condition="$address[country] eq 'Rwanda'">selected="selected"</if>>Rwanda</option>
                            <option value="Saint Barthélemy" <if condition="$address[country] eq 'Saint Barthélemy'">selected="selected"</if>>Saint Barthélemy</option>
                            <option value="Saint Helena" <if condition="$address[country] eq 'Saint Helena'">selected="selected"</if>>Saint Helena</option>
                            <option value="Saint Kitts and Nevis" <if condition="$address[country] eq 'Saint Kitts and Nevis'">selected="selected"</if>>Saint Kitts and Nevis</option>
                            <option value="Saint Lucia" <if condition="$address[country] eq 'Saint Lucia'">selected="selected"</if>>Saint Lucia</option>
                            <option value="Saint Martin" <if condition="$address[country] eq 'Saint Martin'">selected="selected"</if>>Saint Martin</option>
                            <option value="Saint Pierre and Miquelon" <if condition="$address[country] eq 'Saint Pierre and Miquelon'">selected="selected"</if>>Saint Pierre and Miquelon</option>
                            <option value="Saint Vincent and the Grenadines" <if condition="$address[country] eq 'Saint Vincent and the Grenadines'">selected="selected"</if>>Saint Vincent and the Grenadines</option>
                            <option value="Samoa" <if condition="$address[country] eq 'Samoa'">selected="selected"</if>>Samoa</option>
                            <option value="San Marino" <if condition="$address[country] eq 'San Marino'">selected="selected"</if>>San Marino</option>
                            <option value="São Tomé and Príncipe" <if condition="$address[country] eq 'São Tomé and Príncipe'">selected="selected"</if>>São Tomé and Príncipe</option>
                            <option value="Saudi Arabia" <if condition="$address[country] eq 'Saudi Arabia'">selected="selected"</if>>Saudi Arabia</option>
                            <option value="Senegal" <if condition="$address[country] eq 'Senegal'">selected="selected"</if>>Senegal</option>
                            <option value="Serbia" <if condition="$address[country] eq 'Serbia'">selected="selected"</if>>Serbia</option>
                            <option value="Seychelles" <if condition="$address[country] eq 'Seychelles'">selected="selected"</if>>Seychelles</option>
                            <option value="Sierra Leone" <if condition="$address[country] eq 'Sierra Leone'">selected="selected"</if>>Sierra Leone</option>
                            <option value="Singapore" <if condition="$address[country] eq 'Singapore'">selected="selected"</if>>Singapore</option>
                            <option value="Slovakia" <if condition="$address[country] eq 'Slovakia'">selected="selected"</if>>Slovakia</option>
                            <option value="Slovenia" <if condition="$address[country] eq 'Slovenia'">selected="selected"</if>>Slovenia</option>
                            <option value="Solomon Islands" <if condition="$address[country] eq 'Solomon Islands'">selected="selected"</if>>Solomon Islands</option>
                            <option value="Somalia" <if condition="$address[country] eq 'Somalia'">selected="selected"</if>>Somalia</option>
                            <option value="South Africa" <if condition="$address[country] eq 'South Africa'">selected="selected"</if>>South Africa</option>
                            <option value="South Georgia and the South Sandwich Islands" <if condition="$address[country] eq 'South Georgia and the South Sandwich Islands'">selected="selected"</if>>South Georgia and the South Sandwich Islands</option>
                            <option value="South Korea" <if condition="$address[country] eq 'South Korea'">selected="selected"</if>>South Korea</option>
                            <option value="Spain" <if condition="$address[country] eq 'Spain'">selected="selected"</if>>Spain</option>
                            <option value="Sri Lanka" <if condition="$address[country] eq 'Sri Lanka'">selected="selected"</if>>Sri Lanka</option>
                            <option value="Sudan" <if condition="$address[country] eq 'Sudan'">selected="selected"</if>>Sudan</option>
                            <option value="Suriname" <if condition="$address[country] eq 'Suriname'">selected="selected"</if>>Suriname</option>
                            <option value="Svalbard and Jan Mayen" <if condition="$address[country] eq 'Svalbard and Jan Mayen'">selected="selected"</if>>Svalbard and Jan Mayen</option>
                            <option value="Swaziland" <if condition="$address[country] eq 'Swaziland'">selected="selected"</if>>Swaziland</option>
                            <option value="Sweden" <if condition="$address[country] eq 'Sweden'">selected="selected"</if>>Sweden</option>
                            <option value="Switzerland" <if condition="$address[country] eq 'Switzerland'">selected="selected"</if>>Switzerland</option>
                            <option value="Syria" <if condition="$address[country] eq 'Syria'">selected="selected"</if>>Syria</option>
                            <option value="Taiwan" <if condition="$address[country] eq 'Taiwan'">selected="selected"</if>>Taiwan</option>
                            <option value="Tajikistan" <if condition="$address[country] eq 'Tajikistan'">selected="selected"</if>>Tajikistan</option>
                            <option value="Tanzania" <if condition="$address[country] eq 'Tanzania'">selected="selected"</if>>Tanzania</option>
                            <option value="Thailand" <if condition="$address[country] eq 'Thailand'">selected="selected"</if>>Thailand</option>
                            <option value="Timor-Leste" <if condition="$address[country] eq 'Timor-Leste'">selected="selected"</if>>Timor-Leste</option>
                            <option value="Togo" <if condition="$address[country] eq 'Togo'">selected="selected"</if>>Togo</option>
                            <option value="Tokelau" <if condition="$address[country] eq 'Tokelau'">selected="selected"</if>>Tokelau</option>
                            <option value="Tonga" <if condition="$address[country] eq 'Tonga'">selected="selected"</if>>Tonga</option>
                            <option value="Trinidad and Tobago" <if condition="$address[country] eq 'Trinidad and Tobago'">selected="selected"</if>>Trinidad and Tobago</option>
                            <option value="Tunisia" <if condition="$address[country] eq 'Tunisia'">selected="selected"</if>>Tunisia</option>
                            <option value="Turkey" <if condition="$address[country] eq 'Turkey'">selected="selected"</if>>Turkey</option>
                            <option value="Turkmenistan" <if condition="$address[country] eq 'Turkmenistan'">selected="selected"</if>>Turkmenistan</option>
                            <option value="Turks and Caicos Islands" <if condition="$address[country] eq 'Turks and Caicos Islands'">selected="selected"</if>>Turks and Caicos Islands</option>
                            <option value="Tuvalu" <if condition="$address[country] eq 'Tuvalu'">selected="selected"</if>>Tuvalu</option>
                            <option value="Uganda" <if condition="$address[country] eq 'Uganda'">selected="selected"</if>>Uganda</option>
                            <option value="Ukraine" <if condition="$address[country] eq 'Ukraine'">selected="selected"</if>>Ukraine</option>
                            <option value="United Arab Emirates" <if condition="$address[country] eq 'United Arab Emirates'">selected="selected"</if>>United Arab Emirates</option>
                            <option value="United Kingdom" <if condition="$address[country] eq 'United Kingdom'">selected="selected"</if>>United Kingdom</option>
                            <option value="United States" <if condition="$address[country] eq 'United States'">selected="selected"</if>>United States</option>
                            <option value="Uruguay" <if condition="$address[country] eq 'Uruguay'">selected="selected"</if>>Uruguay</option>
                            <option value="U.S. Minor Outlying Islands" <if condition="$address[country] eq 'U.S. Minor Outlying Islands'">selected="selected"</if>>U.S. Minor Outlying Islands</option>
                            <option value="U.S. Virgin Islands" <if condition="$address[country] eq 'U.S. Virgin Islands'">selected="selected"</if>>U.S. Virgin Islands</option>
                            <option value="Uzbekistan" <if condition="$address[country] eq 'Uzbekistan'">selected="selected"</if>>Uzbekistan</option>
                            <option value="Vanuatu" <if condition="$address[country] eq 'Vanuatu'">selected="selected"</if>>Vanuatu</option>
                            <option value="Vatican City" <if condition="$address[country] eq 'Vatican City'">selected="selected"</if>>Vatican City</option>
                            <option value="Venezuela" <if condition="$address[country] eq 'Venezuela'">selected="selected"</if>>Venezuela</option>
                            <option value="Vietnam" <if condition="$address[country] eq 'Vietnam'">selected="selected"</if>>Vietnam</option>
                            <option value="Wallis and Futuna" <if condition="$address[country] eq 'Wallis and Futuna'">selected="selected"</if>>Wallis and Futuna</option>
                            <option value="Western Sahara" <if condition="$address[country] eq 'Western Sahara'">selected="selected"</if>>Western Sahara</option>
                            <option value="Yemen" <if condition="$address[country] eq 'Yemen'">selected="selected"</if>>Yemen</option>
                            <option value="Zambia" <if condition="$address[country] eq 'Zambia'">selected="selected"</if>>Zambia</option>
                            <option value="Zimbabwe" <if condition="$address[country] eq 'Zimbabwe'">selected="selected"</if>>Zimbabwe</option>
                        </select>
                        </td>
                        <!--<td><input class="wi80-BFB" name="consignee" type="text" value="{$address.consignee}" maxlength="12" /></td>-->
                    </tr>

                    <tr>
                        <td align="right"><span class="xh">*</span>City ：&nbsp;</td>
                        <td><input class="wi80-BFB" name="city" type="text" value="{$address.city}" maxlength="12" /></td>
                    </tr>



                    <tr>
                        <td align="right">Zip Code：&nbsp;</td>
                        <td><input class="wi80-BFB" type="text" name="zipcode" value="{$address.zipcode}" onpaste="this.value=this.value.replace(/[^\d]/g,'')" onKeyUp="this.value=this.value.replace(/[^\d]/g,'')" maxlength="10"/></td>
                    </tr>
                   
                    <tr>
                        <td class="pa-50-0">&nbsp;</td>
                        <td align="right">
                            <button type="submit" class="box-ok ma-le--70"><span>Save Address</span></button>
                        </td>    
                    </tr>
                </table>

            </form>
        </div>
    </div>
</div>
<script src="__PUBLIC__/js/global.js"></script>
<script src="__PUBLIC__/js/pc_common.js"></script>
<script>
    function checkForm(){
        var consignee = $('input[name="consignee"]').val();
        var province = $('select[name="province"]').find('option:selected').val();
        var city = $('select[name="city"]').find('option:selected').val();
        var district = $('select[name="district"]').find('option:selected').val();
        var address = $('textarea[name="address"]').val();
        var mobile = $('input[name="mobile"]').val();
        var error = '';
        if(consignee == ''){
            error += '{$Think.lang.consigneename_bt}  <br/>';
        }
        if(province==0){
            error += '{$Think.lang.province_bt}  <br/>';
        }
        if(city==0){
            error += '{$Think.lang.city_bt}  <br/>';
        }
        if(district==0){
            error += '{$Think.lang.area_bt}  <br/>';
        }
        if(address == ''){
            error += '{$Think.lang.address_bt}  <br/>';
        }
       // if(!checkMobile(mobile))
        //    error += '{$Think.lang.phone_bt}  <br/>';
        if(error){
            //alert(error);
			layer.alert(error, {icon: 2});
		//	layer.msg('只想弱弱提示');
            return false;
        }
        return true;
    }
</script>
</body>
</html>
